#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int i, j, s;
	s = 10;
	for (i = 0; i < 4; i++)
		for (j = i; j <= 3; j++)
			s++;
	printf("%d", s);
	return 0;
}